{% spaceless %}
  {% load staticfiles %}

  <!DOCTYPE html>
  <html lang="en">

  <head>
    <meta charset=utf-8/>
    <meta name='description' content='Search onion web pages'/>
    <meta name='keywords'
        content='onion domains, hidden services, deep web, search engine,
                 onion pages, onion sites, list, cache, tor, tor2web, index,
                 search, pages, show content'/>
    <meta name='author' content='ahmia'/>
    <title>{% block title %}{% endblock %}</title>
    <link rel='stylesheet' type='text/css'
          href='{% static "styles/base_styles.css" %}'/>
    <script src='{% static "js/jquery.min.js" %}'></script>
    <script src='{% static "js/highlight.js" %}'></script>
    <link rel='shortcut icon' href='{% static "images/favicon.ico" %}'/>
    <link href='{% static "styles/fontstyles/Cagliostro.css" %}'
          rel='stylesheet'/>
    <link href='{% static "styles/fontstyles/Bitter.css" %}'
          rel='stylesheet'/>
    <link href='{% static "styles/fontstyles/OpenSans.css" %}'
          rel='stylesheet'/>
  </head>

  <body>
  <a href="http://msydqstlz2kzerdg.onion/" id="cornerBanner">
    Ahmia Hidden Website
  </a>

  <header class="pagetitle" role="banner">

    <a href="https://github.com/ahmia/ahmia-site">
      <img style="position: absolute; top: 0; right: 0; border: 0;"
         src="{% static 'images/forkme_right_green_007200.png' %}"
         alt="Fork me on GitHub"
         data-canonical-src="{% static 'images/forkme_right_green_007200.png' %}">
    </a>

    <a href="/" title="ahmia.fi home">
      <h1>- Tor Hidden Service (.onion) search -</h1>
      <p class="ahmia">AHMIA.FI</p>
    </a>

  </header>

  <div id="content">
    {% block content %}{% endblock %}
  </div>
  <hr/>

  <footer>
    <p>This is a search engine for hidden onion sites running inside
      <a href="https://www.torproject.org/" rel="external">Tor</a> network.
      Use
      <a href="https://www.torproject.org/projects/torbrowser.html.en">
        Tor Browser Bundle
      </a>
      to access hidden services.
      <br/>
      <a href="{% url 'add' %}">Add</a> new sites.
      <a href="{% url 'doc-indexing' %}">HS crawling info</a>.
      <a href="{% url 'address' %}">Inform us</a> about CP and we will
      <a href="{% url 'policy' %}">filter it</a>.
      <a href="{% url 'stats:stats' %}">Hidden Websites statistics</a>:
      <strong class="color12">{{ count_online }} online</strong> &sol;
      <strong class="color1">{{ count_banned }} filtered</strong>.</p>
  </footer>
  <nav class="clearfix" role="navigation">
    <div class="item">
      <h3>Searches</h3>
      <ul>
        <li><a href="/search/">A full text search</a>
        </li>
        <li><a href="{% url 'address' %}">Onion Directory</a>
        </li>
        <li><a href="{% url 'about' %}">About us</a>
        </li>
      </ul>
    </div>
    <div class="item">
      <h3>Contact</h3>
      <p><a href="{% url 'disclaimer' %}">Disclaimer</a>
      </p>
      <p>irc.oftc.net #ahmia</p>
      <script type="text/javascript">
        <!--
        var string1 = "hostmaster";
        var string2 = "&#64";
        var string3 = "ahmia.fi";
        var string4 = string1 + string2 + string3;
        document.write("<p> " + string4 + "</p>");
        //-->
      </script>
    </div>
    <div class="item">
      <h3>
        Twitter <a href="https://twitter.com/AhmiaNews">&#64;AhmiaNews</a>
      </h3>
      <div id="tweet_div">
        <ul id="tweet_update_list">
          <li>
            <span>
              Juha is enjoying his Google Summer of Code.
              Developing the search engine in his backyard.
              <a href="http://t.co/flcMn9s1dj">pic.twitter.com/flcMn9s1dj</a>
            </span>
          </li>
        </ul>
      </div>
    </div>
  </nav>
  </body>

  </html>

{% endspaceless %}
